package cn.growthgate.fgo.entity.enums;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IEnum;

public enum ServantGet implements IEnum {

	PRE_REGISTER(0, "事前登录赠送"),
	INIT(1, "初始获得"),
	FP(2, "友情点召唤"),
	PERMANENT(3, "圣晶石常驻"),
	PLOT(4, "剧情限定"),
	LIMIT(5, "期间限定"),
	REWARD(6, "通关报酬"),
	EVENT_GIFT(7, "活动赠送"),
	IMPOSSIBLE(8, "无法获得");

	private int value;
	private String desc;

	private ServantGet(final int value, final String desc) {
		this.value = value;
		this.desc = desc;
	}

	@Override
	public Serializable getValue() {
		return value;
	}

	public String getDesc() {
		return desc;
	}

	@Override
	public String toString() {
		return getDesc();
	}
	
}
